1 REM NOTECRAFTER 100 VC=53248:POKEVC+32,6:POKEVC+33,0:PRINTCHR$(147) 105 MC=54272:FORX=MCTO54296:POKEX,0:NEXTX 110 DIM NT%(37,1):GOSUB1000 115 PRINT"[147] L A C C O R D E U R [146]"; 120 PRINT" CE JEU NECESSITE UNE BONNE MEMOIRE" 125 PRINT" AINSI QU'UNE BONNE OREILLE MUSICALE." 130 PRINT" L'ORDINATEUR CHOISIT UNE NOTE ET LA JOUE. "; 135 PRINT" ENSUITE,IL CHOISIT UNE NOTE" 140 PRINT" POUR VOUS ET LA JOUE." 150 PRINT"  VOUS DEVEZ AUGMENTER OU DIMINUER LA" 153 PRINT" TONALITE DE VOTRE NOTE POUR QUE VOTRE" 157 PRINT" NOTE DEVIENNE IDENTIQUE A CELLE DE" 160 PRINT" L 'ORDINATEUR." 170 PRINT" PRESSER UNE TOUCHE POUR DEBUTER" 180 GOSUB 1500 190 DIMRT$(5):FORX=0TO5:READX$:RT$(X)=X$:NEXTX 200 REM *** SELECTION DES NOTES *** 210 CN=INT(RND(1)*61)+10 220 PN=INT(RND(1)*61)+10:IF CN=PNTHEN220 230 POKEVC+33,15:PRINT"[147][144] NOTE DE L'ORDINATEUR:" 240 X=CN:GOSUB2000:FORX=1TO1000:NEXTX 250 PRINT" NOTE DU JOUEUR:" 260 X=PN:GOSUB2000 300 PRINT"[147] --- CHOISIR LES OPTIONS ---" 310 PRINT" 1[146] LEGERE DIMINUTION DE TONALITE" 320 PRINT" 2[146] DIMINUTION MOYENNE DE TONALITE" 330 PRINT" 3[146] FORTE DIMINUTION DE TONALITE" 340 PRINT" 5[146] *** COMPARAISON ***" 350 PRINT" 7[146] LEGERE AUGMENTATION DE TONALITE" 360 PRINT" 8[146] AUGMENTATION MOYENNE DE TONALITE" 370 PRINT" 9[146] FORTE AUGMENTATION DE TONALITE" 400 X=PEEK(197):IFX=64 THEN400 410 IFX=56 THENPN=PN-1:GOTO500 420 IFX=59THENPN=PN-5:GOTO500 430 IFX=8THENPN=PN-10:GOTO500 440 IFX=16THEN700 450 IFX=24THENPN=PN+1:GOTO500 460 IFX=27THENPN=PN+5:GOTO500 470 IFX=32THENPN=PN+10:GOTO500 480 GOTO400 500 IFPN<10THENPN=10 610 IFPN>70THENPN=70 620 X=PN:GOSUB2000:GOTO400 700 IFPN<>CNTHEN800 710 PRINT"[147] FELICITATIONS!" 720 PRINT" VOUS AVEZ CHOISIT LA MEME NOTE QUE" 725 PRINT" L'ORDINATEUR!!!" 730 PRINT" VOUS DEVEZ ETRE UN TRES BON" 735 PRINT" MUSICIEN!!!!." 740 PRINT" PRESSER UNE TOUCHE POUR CONTINUER" 750 POKE 198,0 760 GOSUB 1500 770 GOTO900 800 PRINT"[147] NOTE DE L'ORDINATEUR:" 805 X=CN:GOSUB2000:FORX=1TO1000:NEXTX 810 PRINT" NOTE DU JOUEUR:" 815 X=PN:GOSUB2000 820 IFPN5THEN900 880 PRINT" VOTRE OREILLE MUSICALE EST":X$=RT$(X) 885 IFLEN(X$)<38THENX$=" "+X$+" ":GOTO885 890 PRINTX$; 900 PRINT" AUTRE ESSAI? (OUI[146]/ NON[146])" 910 GETX$:IFX$=""THEN910 920 IF X$="O"THEN200 930 IF X$<>"N"THEN910 940 PRINTCHR$(147) 950 END 1000 FOR X=832TO832+63:READZ:POKEX,Z:NEXTX 1010 POKEVC+0,40:POKEVC+2,120:POKEVC+4,200:POKEVC+6,22 1020 POKEVC+1,40:POKEVC+3,30:POKEVC+5,20:POKEVC+7,10 1030 POKEVC+16,8:POKEVC+23,15:POKEVC+27,15:POKEVC+28,0:POKEVC+29,15 1040 FORX=0TO3:POKEVC+39+X,X+2:NEXTX 1050 FORX=0TO3:POKE2040+X,13:NEXTX 1100 FORX=0TO37:FORY=0TO1:READZ:NT%(X,Y)=Z:NEXTY,X 1110 POKEMC+0,0:POKEMC+1,0:POKEMC+5,79:POKEMC+6,129 1120 RETURN 1500 POKEVC+21,15:POKEMC+24,15:X=0 1510 Y=INT(NT%(X,0)/256) 1520 POKEMC+0,NT%(X,0)-(Y*256) 1530 POKEMC+1,Y:POKEMC+4,17 1540 FORZ=1TONT%(X,1)*100:NEXTZ 1550 X=X+1:IFX>37THENX=0 1560 POKEMC+4,16 1570 FORZ=1TO7STEP2 1580 Y=PEEK(VC+Z)+8:IFY>250THENY=10 1590 POKEVC+Z,Y 1595 NEXTZ 1600 GETX$:IFX$=""THEN1510 1610 POKEMC+24,0:POKEVC+21,0 1620 PRINTCHR$(147) 1630 FORX=1TO1000:NEXTX 1640 RETURN 1700 DATA1,255,248,1,255,248,1,255,248,1,192,56,1,192,56,1,255,248,1,192 1710 DATA56,1,192,56,1,192,56,1,192,56,1,192,56,1,192,56,1,192,56,1,192,56 1720 DATA15,193,248,31,195,248,63,199,248,127,143,240,255,31,224,254 1730 DATA31,192,124,15,128,0 1800 DATA8101,2,8583,2,10814,2,5728,1,5728,2,5728,2,5728,2,6430,2,5728,1 1810 DATA8101,2,10814,1,8583,2,11457,1,6430,2,7217,1,8101,2,8583,1 1820 DATA10814,2,10814,1,10814,2,5728,1,5728,2,5728,1,6430,2,5728,1,8101,2 1830 DATA10814,2,10814,2,8583,2,11457,1,6430,2,7217,1 1840 DATA8101,2,8101,1,7217,1,7217,2,8101,3,8101,2 1900 DATAEXCELLENTE,"TRES BONNE",BONNE,"+ QUE NORMALE",NORMALE,"PAS MAUVAISE" 2000 POKE MC+0,0:POKEMC+1,X:POKEMC+4,17:POKEMC+5,15:POKEMC+6,15 2010 POKEMC+24,5 2020 FORX=1TO800:NEXTX:POKEMC+4,16 2030 FORX=1TO50:NEXTX 2040 POKEMC+24,0 2050 RETURN